package cn.mdx.service;

import cn.mdx.mapper.AchievementMapper;
import cn.mdx.pojo.Achievement;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
public class AchievementService {
    private static final Logger logger = LoggerFactory.getLogger(AchievementService.class);

    @Autowired
    private AchievementMapper achievementMapper;

    public ArrayList<Achievement> getAchievements() {
        return achievementMapper.getAchievements();
    }
}
